
  <script type="text/javascript">
    var cding = new Object();
    Object.defineProperty(cding,'data',{
      get:function(){
        return data+1;
      },
      set:function(newvalue){
        data = newvalue;
        console.log('set:'+data)
      }
    })
  </script>

  <!-- cding.data =2
  2
  cding.data
  3 -->
